package com.jrx.anytxn.investor.service;

import com.jrx.anytxn.investor.entity.AmLoanAccountInvestorInfo;
import com.jrx.anytxn.investor.entity.TlInvestorLoanChange;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @program: anytxn-cf-transaction
 * @description:
 * @author: xiaoyu.jing
 * @date: 2020-06-08 10:44
 **/
public interface IInvestorLoanChangeService {

    /**
     * 生成订单形态转移流水
     *
     * @param orgiLoan
     * @param businessDate
     * @return
     */
    TlInvestorLoanChange genarateLoanChange(AmLoanAccountInvestorInfo orgiLoan, Date businessDate);

    TlInvestorLoanChange genarateLoanChange(String acctType, BigDecimal glAmt, String eventCode, String beforeStatus, String afterStatus);


}
